package com.file.manage.domain.data;


import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.file.manage.domain.enums.FileType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author H41
 * @Type FileVo.java
 * @date 2025/5/31 17:30
 * @Desc
 */

@Schema(title = "文件信息VO")
@Getter
@Setter
public class FileVO {
    @Schema(title = "id")
    private String id;

    @Schema(title = "文件名称")
    private String name;
    @Schema(title = "父级id")
    private String parentId;
    @Schema(title = "类型")
    private FileType type;
    @Schema(title = "文件地址")
    private String fileUrl;
    @Schema(title = "创建人")
    private String createdBy;
    @Schema(title = "创建人名称")
    private String createdByName;

    @Schema(title = "是否锁定")
    private Boolean isLock;

    @Schema(title = "创建时间")
    private Date createdTime;
    @Schema(title = "删除标记")
    private Boolean delTag;
    @Schema(title = "修改时间")
    private Date updatedTime;
    @Schema(title = "修改人")
    private String updatedBy;
    @Schema(title = "修改人名称")
    private String updatedByName;
    @Schema(title = "没有文件的叶子文件夹数量")
    private Integer leafFolderNoFileQty;

    @Schema(title = "没有加锁文件数量")
    private Integer noLockFileQty;

    @Schema(title = "删除标记文件数量")
    private Integer delTagFileQty;


}
